import {request} from '../utils/ncov-request'

export function getModalShow() {
  return request({
    url: 'api/modal-show',
    method: 'get',
    data: {
    }
  })
}

export function getDiseaseIndex() {
  return request({
    url: 'api/disease-index',
    method: 'get',
    data: {
    }
  })
}

export function getCityMaskDetail(prov, city) {
  return request({
    url: 'api/city-mask-detail',
    method: 'get',
    data: {
      prov,
      city
    }
  })
}

export function getCityMaskCfg() {
  return request({
    url: 'api/city-mask-cfg',
    method: 'get',
    data: {
    }
  })
}

export function getNetMask() {
  return request({
    url: 'api/net-mask',
    method: 'get',
    data: {
    }
  })
}

export function getMaskList(keyword) {
  return request({
    url: 'api/mask-list',
    method: 'get',
    data: {
      keyword
    }
  })
}

export function getMaskDetail(id) {
  return request({
    url: 'api/mask-detail',
    method: 'get',
    data: {
      id
    }
  })
}
